/**
 * 
 */
package ramakrishnanmoreHealthModel.Campus.FoodSources;


import ramakrishnanmoreHealthModel.*;
import ramakrishnanmoreHealthModel.Menu.MenuType;

/**
 * @author aloke
 *
 */
//Get Information Regarding the Fast-Food Food Resources type.
public class FastFood extends FoodSources
	{
	//ATTRIBUTES ======================================
	
	//Time when the Student was present at the Fast-Food.
	//private int timeInstancex_=0;
	
	private Menu menuItmex_= null;
	//TODO: Add mechanism to check the time at Location 1<time Location 2
	//CONSTRUCTORS ======================================
	//PRE-CONDITION:
		//1. Latitude, longitude should not be negative
		//2. Time cannot be negative and decimal
	public FastFood(int latitude, int longitude, String fastFoodAddress, int time)
		{

			setLocationLatitude(latitude);
			setLocationLongitude(longitude);
			this.setFoodResourceAddress(fastFoodAddress);
			setLocationTime(time);
			MenuInfo();
			
			if (latitude<=-1)
				{System.out.println("Latitude cannot be less than 0.");}
			else if (longitude<=-1)
				{System.out.println("Longitude cannot be less than 0.");}
			else if (time<=-1)
				{System.out.println("Time cannot be less than 0");}
			
		}

	//INTENT: gets the time when the Student was present at the Fast-Food.
	//POST-CONDITION: 
		//1. Send the time when the Student was present in the Fast-Food grid.
//	public int getTimeInstance ()
//		{return timeInstancex_;}
//	
	
	//TODO: Make the Menu Super more detailed.
	//Provides the type of food the Student Ordered while in the Fast Food location.
	@Override
	public Menu MenuInfo()
		{
			menuItmex_ = new Menu(MenuType.Meat);
			return menuItmex_;
			
		}

	}
